package com.shop.user.api;

import com.shop.user.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : Created by HGL on 2019/03/29 14:41
 * @version : 1.0
 * Description :
 */
public interface UserApi {
    @GetMapping("query")
    User queryUser(
            @RequestParam("username") String username,
            @RequestParam("password") String password
    );
}
